﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Index.aspx.cs" Inherits="CRS.Web.MainWebForm.Index" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title></title>
    <link href="../ScriptFiles/CSS/Main.css" type="text/css" rel="stylesheet" />

    <script src="../ScriptFiles/JS/Ajax.js" type="text/javascript"></script>

    <style type="text/css">
        body
        {
            margin-left: 5px;
            margin-top: 10px;
            margin-right: 5px;
            margin-bottom: 5px;
        }
        .style1
        {
            height: 76px;
        }
        .style2
        {
            height: 24px;
        }
        .style3
        {
            height: 21px;
        }
        hr
        {
            border: 2px #e1eff2 solid;
        }
        td
        {
            font-size: 13px;
            color: #006699;
            font-weight: bold;
        }
        img
        {
            cursor: pointer;
            border: 0px;
        }
        #txtMessage
        {
            font-family: 楷体;
            color: #fab43c;
        }
        .tableBg1
        {
            background: #FAFCFF;
            font: 12px Tahoma, Verdana;
            height: 32px;
            padding-left: 6px;
            vertical-align: middle;
            border-bottom: 1px solid #f3f3f3;
            text-align: center;
        }
        .tableBg2
        {
            font: 12px Tahoma, Verdana;
            border-bottom: 1px solid #f3f3f3;
        }
        .label
        {
            font-family: 楷体;
            color: #fab43c;
            height: 280px;
            width: 215px;
        }
        .GridViewTrItem
        {
            height: 30px;
        }
        .GridViewTrAl
        {
            height: 30px;
            background-image: url(/VitCode_client/PaginationGrid/images/tablebg.png);
        }
    </style>

    <script type="text/javascript">
        function ChangeRead() {

            document.getElementById("txtMessage").readOnly = false;
            document.getElementById("txtMessage").style.borderWidth = "1px";
            document.getElementById("txtMessage").style.backgroundColor = "#f5fbff";
        }

        function Read() {

            document.getElementById("txtMessage").readOnly = true;
            document.getElementById("txtMessage").style.borderWidth = "0px";
            document.getElementById("txtMessage").style.backgroundColor = "#ffffff";
            var txtValue = escape(document.getElementById("txtMessage").value);
            var mAjax = new Ajax("../SaveMessage.ashx", 1, "txtValue=" + txtValue, CallBack);
            mAjax.post();

        }

        function CallBack(msg) {

        }

        function show() {
            var run_exe = "<OBJECT ID='RUNIT' WIDTH=0 HEIGHT=0 TYPE='application/x-oleobject'";
            run_exe += "CODEBASE='../ScriptFiles/AMS.Inventory.PCClient.exe#version=1,1,1,1'>";
            //这里的**.exe就是我们要运行的程序的网上路径
            run_exe += "<PARAM NAME='Version' value='65536'>";
            run_exe += "</OBJECT>";
            document.open();
            document.clear();
            document.writeln(run_exe);
            document.close();
        }
       
         
    
    </script>

</head>
<body>
    <form id="Form1" runat="server">
    <br />
    <center>
        <div style="font-family: 黑体; font-size: xx-large; width: 800px; height: 386px;" align="center">
            <div>
                <asp:Label ID="lblSystemName" runat="server" Text="VitCodeWeb对象解释框架WEB端" Font-Bold="True"
                    Font-Size="26pt" ForeColor="#006699"></asp:Label>&nbsp;
            </div>
            <table width="700px" cellpadding="0" cellspacing="0" style="margin-top: 10px;">
                <tr align="center">
                    <td align="left" width="140px" style="border-color: #000000; border-right-style: solid;
                        border-bottom-style: solid; border-top-style: solid; border-right-width: 1px;
                        border-bottom-width: 2px; border-top-width: 2px;" class="style1">
                        &nbsp;
                        <asp:Label ID="Label1" runat="server" Text="当前用户" Font-Size="14px"></asp:Label>
                    </td>
                    <td align="center" width="400px" style="border-color: #000000; border-left-style: solid;
                        border-bottom-style: solid; border-top-style: solid; border-left-width: 1px;
                        border-bottom-width: 2px; border-top-width: 2px;" class="style1" class="style1">
                        <asp:Label ID="labLoginUser" runat="server" Text="tiger" Font-Bold="True" Font-Size="32pt"
                            ForeColor="Firebrick"></asp:Label>&nbsp;
                    </td>
                </tr>
                <tr align="center">
                    <td align="left" width="140px" style="border-color: #000000; border-right-style: solid;
                        border-bottom-style: solid; border-top-style: solid; border-right-width: 1px;
                        border-bottom-width: 2px; border-top-width: 2px;" class="style1">
                        &nbsp;
                        <asp:Label ID="Label2" runat="server" Text="上次登录时间" Font-Size="14px"></asp:Label>
                    </td>
                    <td align="center" width="400px" style="border-color: #000000; border-left-style: solid;
                        border-bottom-style: solid; border-top-style: solid; border-left-width: 1px;
                        border-bottom-width: 2px; border-top-width: 2px;" class="style1">
                        <asp:Label ID="lblDate" runat="server" Text="2011-02-22 10:10:10" Font-Bold="True"
                            Font-Size="32pt" ForeColor="ForestGreen"></asp:Label>&nbsp;
                    </td>
                </tr>
                <tr align="center">
                    <td align="left" width="140px" style="border-color: #000000; border-right-style: solid;
                        border-bottom-style: solid; border-top-style: solid; border-right-width: 1px;
                        border-bottom-width: 2px; border-top-width: 2px;" class="style1">
                        &nbsp;
                        <asp:Label ID="Label3" runat="server" Text="最后一次登录用户" Font-Size="14px"></asp:Label>
                    </td>
                    <td align="center" width="400px" style="border-color: #000000; border-left-style: solid;
                        border-bottom-style: solid; border-top-style: solid; border-left-width: 1px;
                        border-bottom-width: 2px; border-top-width: 2px;" class="style1" class="style1">
                        <asp:Label ID="lblLastLoginUser" runat="server" Text="admin" Font-Bold="True" Font-Size="32pt"
                            ForeColor="Firebrick"></asp:Label>&nbsp;
                    </td>
                </tr>
                <tr align="center">
                    <td align="left" width="140px" style="border-color: #000000; border-right-style: solid;
                        border-bottom-style: solid; border-top-style: solid; border-right-width: 1px;
                        border-bottom-width: 2px; border-top-width: 2px;" class="style1">
                        &nbsp;
                        <asp:Label ID="Label7" runat="server" Text="在线人数" Font-Size="14px"></asp:Label>
                    </td>
                    <td align="center" width="400px" style="border-color: #000000; border-left-style: solid;
                        border-bottom-style: solid; border-top-style: solid; border-left-width: 1px;
                        border-bottom-width: 2px; border-top-width: 2px;" class="style1">
                        <asp:Label ID="labOnLineCount" runat="server" Text="2011-02-22 10:10:10" Font-Bold="True"
                            Font-Size="32pt" ForeColor="ForestGreen"></asp:Label>&nbsp;
                    </td>
                </tr>
                <tr align="center">
                    <td align="left" width="140px" style="border-color: #000000; border-right-style: solid;
                        border-bottom-style: solid; border-top-style: solid; border-right-width: 1px;
                        border-bottom-width: 2px; border-top-width: 2px;" class="style1">
                        &nbsp;
                        <asp:Label ID="labVer" runat="server" Text="版本号" Font-Size="14px"></asp:Label>
                    </td>
                     <td align="center" width="400px" style="border-color: #000000; border-left-style: solid;
                        border-bottom-style: solid; border-top-style: solid; border-left-width: 1px;
                        border-bottom-width: 2px; border-top-width: 2px;" class="style1" class="style1">
                        <asp:Label ID="labVerValue" runat="server" Text="1.0" Font-Bold="True" Font-Size="32pt"
                            ForeColor="Firebrick"></asp:Label>&nbsp;
                    </td>
                </tr>
            </table>
        </div>
    </center>
    </form>
</body>
</html>
